<div class="softwares form">
<?php echo $this->Form->create('Software');?>
	<fieldset>
 		<legend><?php __('Add Software'); ?></legend>
	<?php
		if($this->params['pass']==null){
		echo $this->Form->input('computer_id');}
                else {
                    echo $this->Form->hidden('computer_id', array('value' => $this->params['pass']['0']));}
		echo $this->Form->input('os_name');
		echo $this->Form->input('os_config');
		echo $this->Form->input('windows_install_location');
		echo $this->Form->input('install_date');
		echo $this->Form->input('op_sys_language');
		echo $this->Form->input('last_logged_on_user');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>